package com.study.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class UserNew {
    private String id;
    protected String username;
    protected String password;
    protected String firstName;
    protected String lastName;
    private String phone;
    protected String email;
    protected Boolean enabled;
    private Integer version;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date bindEmailTime;
    protected Boolean isVerify;
}
